package com.cheyun.netsalev3.bean

import androidx.databinding.BaseObservable
import androidx.databinding.Bindable
import com.cheyun.netsalev3.BR
import java.io.Serializable

data class CarBrandParam(var brand: String,
                         var series: String,
                         var spec: String,
                         var aic:String): BaseObservable(),Serializable {
    //拟购品牌：
    @get:Bindable
    var brandname: String = ""//请选择拟购品牌
        set(value) {
            field = value
            notifyPropertyChanged(BR.brandname)
        }
    //拟购车系：
    @get:Bindable
    var seriesname: String = ""//请选择拟购车系
        set(value) {
            field = value
            notifyPropertyChanged(BR.seriesname)
        }
    //拟购车型：
    @get:Bindable
    var specname: String = ""//请选择拟购车型
        set(value) {
            field = value
            notifyPropertyChanged(BR.specname)
        }
    //拟购车型：
    @get:Bindable
    var aicname: String = ""//请选择拟购车型
    set(value) {
        field = value
        notifyPropertyChanged(BR.aicname)
    }

    var intercolor_s_code:String = ""
    var excolor_code:String = ""
    var spec_select:Int = 1

    constructor() : this(
            "",
            "",
            "",
            ""
    )
}